#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "a.h"

extern void a_init(struct A ** a);
	

int main(void)
{

	char str[20] = "hello world";
	struct A * ta = NULL;
	printf("ta = %p\n",&ta);
	a_init(&ta);
	printf("a a = %p\n",&ta);

	ta -> setName(ta,str);
	printf("ta -> name = [%s]\n",ta -> name);
	ta -> free(&ta);
	
	return EXIT_SUCCESS;
}
